//
//  TTAccountService.h
//  TTBaseProject
//
//  Created by shny588 on 16/7/20.
//  Copyright © 2016年 tt. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TTAccount.h"

@interface TTAccountService : NSObject

/**
 *  账户管理单例
 *
 *  @return 账户管理对象
 */
+ (TTAccountService *)shared;
/**
 *  得到默认账户
 *
 *  @return 默认账户
 */
- (TTAccount *)defaultAccount;
/**
 *  设置默认账户
 *
 *  @param account 默认账户
 */
- (void)setDefaultAccount:(TTAccount *)account;
/**
 *  退出账户
 *
 *  @param account 账户
 */
- (void)removeAccount;

@end
